package com.pur.zsms.common.vo;

public class ConstantType {
 
	
	/**
	 * 相似性规则
	 */
	//客户证件相同，姓名不同
	public static final int SAME_CERT_AND_DIFFERENT_NAME = 1;
	//客户证件不同，联系方式、姓名、出生日期、性别相同
	public static final int DIFFERENT_CERT_AND_SAME_CONTACT = 2;
	//客户证件和联系方式不同，姓名、出生日期、性别相同
	public static final int DIFFERENT_CERT_AND_CONTACT = 3;
	//信息更新后，客户证件相同，姓名相同
	public static final int SAME_CERT_AND_NAME = 4;
	
	
	/**
	 * 队列
	 */
	//客户信息新增队列
	public static final String CREATE_CUSTOMER_QUEUE = "createCustomerQueue";
	//客户信息修改队列
	public static final String UPDATE_CUSTOMER_QUEUE = "updateCustomerQueue";
	
	/**
	 * 主题topic
	 */
	//广播更新客户信息topic
	public static final String UPDATE_CUSTOMER_BROADCAST_TOPIC = "updateCustomerBroadcastTopic";
	
	//新增客户结果信息topic
	public static final String CREATE_CUSTOMER_RESULT_TOPIC = "createCustomerResultTopic";

	//合并客户结果 topic
	public static final String MERGE_CUSTOMER_BROADCAST_TOPIC = "mergeCustomerBroadcastTopic";
	
	
	/**
	 * 接口调用结果
	 */
	public static final Integer CALL_SUCCESS = 1;
	public static final Integer CALL_FAIL = 0;
	
	/**
	 * 属性名
	 */
	public static final String FIELD_CUS_NAME = "cusName";
	public static final String FIELD_BIRTHDAY = "birthday";
	public static final String FIELD_GENDER = "gender";
	public static final String FIELD_HEIGHT = "height";
	public static final String FIELD_WEIGHT = "weight";
	public static final String FIELD_IS_SMOKING = "isSmoking";
	public static final String FIELD_COUNTRY= "country";
	public static final String FIELD_MARRIAGE_ID= "marriageId";	
	public static final String FIELD_NATION_ID= "nationId";
	public static final String FIELD_WORK_UNIT= "workUnit";
	public static final String FIELD_DEGREE_ID= "degreeId";
	public static final String FIELD_YEAR_INCOME= "yearIncome";
	public static final String FIELD_CERT_TYPE_ID = "certTypeId";
	public static final String FIELD_CERT_NO = "certNo";
  	public static final String FIELD_CERT_EXPIRE_DATE = "certExpireDate";
 	public static final String FIELD_CON_TYPE_ID = "conTypeId";
 	public static final String FIELD_CONTACT = "contact";
	public static final String FIELD_ADD_TYPE_ID = "addTypeId";
	public static final String FIELD_ZIP = "zip";
	public static final String FIELD_ADDRESS = "address";
	//-------------------------以下字段用来和外围系统交互，ECIF数据库中无对应字段
	public static final String FIELD_CONTACT_ADDRESS = "contactAddress";
	public static final String FIELD_CONTACT_ADDRESS_ZIP = "contactAddressZip";
	public static final String FIELD_DWELL_ADDRESS = "dwellAddress";
	public static final String FIELD_DWELL_ADDRESS_ZIP = "dwellAddressZip";
	public static final String FIELD_WORK_ADDRESS = "workAddress";
	public static final String FIELD_WORD_ADDRESS_ZIP = "workAddressZip";	
	
	public static final String FIELD_MOBILE_PHONE = "mobilePhone";
	public static final String FIELD_OFFICE_PHONE = "officePhone";
	public static final String FIELD_HOME_PHONE = "homePhone";
	public static final String FIELD_FAX="fax";
	public static final String FIELD_EMAIL = "email";
	
	public static final String FIELD_ID_CARD= "idCard";
	public static final String FIELD_MILITARY_CARD = "militaryCard";
	public static final String FIELD_PASSPORT = "passport";
	public static final String FIELD_ID_CARD_EXPIRE_DATE = "idCardExpireDate";
	public static final String FIELD_MILITARY_CARD_EXPIRE_DATE ="militaryCardExpireDate";
	public static final String FIELD_PASSPORT_EXPIRE_DATE = "passportExpireDate";
	
	
	/**
	 *  certificate_type
	 */
	//1	身份证
	public static final String ID_CARD = "1";
	//2	军人证
	public static final String MILITARY_CARD = "2";
	//3	护照
	public static final String PASSPORT = "3";
	
	/**
	 * contact_type
	 */
	//1	移动电话
	public static final String MOBILE_PHONE = "1"; 
	//2	办公电话
	public static final String OFFICE_PHONE = "2";
 	//3	家庭电话
	public static final String HOME_PHONE = "3";
	//4	传真
	public static final String FAX = "4";
	//5	邮箱
	public static final String EMAIL = "5";
	
	/**
	 *  address_type
	 */
	//1 联系地址
	public static final String CONTACT_ADDRESS = "1";
	//2 居住地址
	public static final String DWELL_ADDRESS = "2";
	//3 工作地址
	public static final String WORK_ADDRESS = "3";
	
	/**
	 * 源系统
	 */
	//核心业务系统
	public static final String CORE_BUSINESS_SYSTEM = "1001";
	//ECIF系统
	public static final String ECIF_SYSTEM = "1000";
  }

